<?php
/*database*/
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PASS','vertrigo');
define('DB_TYPE','mysql');
define('DB_VERSION','5.0');
define('DB_PORT','');
define('DB_NAME','amso');
define('DB_PREFIX','ams_');
define('DB_PERSISTENT',true);
define('MAX_ITEMS',300);
define('MSG_MAX_ITEMS',"<span style='color:#990000'><b>The maximun product is limit, please contact to sale to upload more products<b></span>");
/*host*/
define('REMOTE_PATH', "ams/");

define('PATH_ROOT', $_SERVER['DOCUMENT_ROOT'] . "/" . REMOTE_PATH);

if(substr($_SERVER['SERVER_PROTOCOL'],0,5) == 'HTTPS'){
	define('HOST_ADDR', "https://".$_SERVER['HTTP_HOST']. "/");
}else{
	define('HOST_ADDR', "http://".$_SERVER['HTTP_HOST']. "/");
}

